package com.csi.bumblebee.domain.user;

import com.csi.bumblebee.domain.dictionary.DictionaryRecharge;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * user_Recharge表
 *
 * @author yeebs
 */
@Data
public class Recharge implements Serializable {

    public static final String PRE_NAME = "RG";

    /**
     * 主键id
     */
    private String id;

    /**
     * 外键:企业id
     */
    private String companyId;

    /**
     * 引用：企业
     */
    private Company company;

    /**
     * 字典:充值类型
     */
    private String rechargeTypeId;

    /**
     * 引用：充值
     */
    private DictionaryRecharge dictionaryRecharge;

    /**
     * 充值时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date time;
}

